package com.university.sol.pojo;

import java.util.Date;

public class User {
    /** 用户编号-主键 */
    private Long userNum;

    /** 用户名 */
    private String userName;

    /** 昵称 */
    private String userNickName;

    /** 密码-MD5加密 */
    private String userPassword;

    /** 手机号 */
    private Long userPhone;

    /** 邮箱 */
    private String userEmail;

    /** 性别 */
    private Integer userGender;

    /** 年龄 */
    private Integer userAge;

    /** 出生日期 */
    private Date userBirth;

    /** 头像 */
    private String userHeadPortrait;

    /** QQ账号 */
    private String userQqAccount;

    /** 微信账号 */
    private String userWechatAccount;

    /** 新浪微博账号 */
    private String userSinaAccount;

    /** 用户状态 1-在网 2-非在网 */
    private Integer userStatus;

    /** 版本 */
    private Integer userVersion;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public User(Long userNum, String userName, String userNickName, String userPassword, Long userPhone, String userEmail, Integer userGender, Integer userAge, Date userBirth, String userHeadPortrait, String userQqAccount, String userWechatAccount, String userSinaAccount, Integer userStatus, Integer userVersion, Date createTime, Date updateTime) {
        this.userNum = userNum;
        this.userName = userName;
        this.userNickName = userNickName;
        this.userPassword = userPassword;
        this.userPhone = userPhone;
        this.userEmail = userEmail;
        this.userGender = userGender;
        this.userAge = userAge;
        this.userBirth = userBirth;
        this.userHeadPortrait = userHeadPortrait;
        this.userQqAccount = userQqAccount;
        this.userWechatAccount = userWechatAccount;
        this.userSinaAccount = userSinaAccount;
        this.userStatus = userStatus;
        this.userVersion = userVersion;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public User() {
        super();
    }

    public Long getUserNum() {
        return userNum;
    }

    public void setUserNum(Long userNum) {
        this.userNum = userNum;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName == null ? null : userNickName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public Long getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(Long userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Integer getUserGender() {
        return userGender;
    }

    public void setUserGender(Integer userGender) {
        this.userGender = userGender;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public Date getUserBirth() {
        return userBirth;
    }

    public void setUserBirth(Date userBirth) {
        this.userBirth = userBirth;
    }

    public String getUserHeadPortrait() {
        return userHeadPortrait;
    }

    public void setUserHeadPortrait(String userHeadPortrait) {
        this.userHeadPortrait = userHeadPortrait == null ? null : userHeadPortrait.trim();
    }

    public String getUserQqAccount() {
        return userQqAccount;
    }

    public void setUserQqAccount(String userQqAccount) {
        this.userQqAccount = userQqAccount == null ? null : userQqAccount.trim();
    }

    public String getUserWechatAccount() {
        return userWechatAccount;
    }

    public void setUserWechatAccount(String userWechatAccount) {
        this.userWechatAccount = userWechatAccount == null ? null : userWechatAccount.trim();
    }

    public String getUserSinaAccount() {
        return userSinaAccount;
    }

    public void setUserSinaAccount(String userSinaAccount) {
        this.userSinaAccount = userSinaAccount == null ? null : userSinaAccount.trim();
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getUserVersion() {
        return userVersion;
    }

    public void setUserVersion(Integer userVersion) {
        this.userVersion = userVersion;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}